package com.maxh.mapper;

import com.maxh.pojo.Information;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface InformationMapper {
    List<Map<String, Object>> informationList();

    List<Map<String, Object>> findInformationById(Map<String, Object> map);

    Boolean updateInfoStatus(int id);

    Boolean updateReject(int id);

    Boolean saveInformation(Information information);

    int findInformationList(Information information);

    List<Map<String, Object>> findStudentInfo(@Param("teacherId")String teacherId, @Param("courseId") int courseId);

    Boolean saveMark(@Param("id")int id, @Param("mark")String mark);

    List<Map<String, Object>> findStudentCourse(Map<String, Object> map);

    int findStudentInfoList(Information information);

    Boolean cancelUpdateStatus(int id);

    Boolean updateStudentStatus(int id);
}
